<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>后台首页</title>
<meta charset="utf-8">
<!-- <link rel="stylesheet" type="text/css" href="css/scroll.css"> -->
<!-- <link rel="stylesheet" type="text/css" href="css/xiami.css"> -->
<link rel="stylesheet" type="text/css"
	href="bootstrap-3.3.5-dist/dist/css/bootstrap.css">
<link rel="stylesheet" type="text/css" href="css/theme.css">
<!-- <link rel="stylesheet" href="css/index.css"> -->
<style type="text/css">
#line-chart {
	height: 300px;
	width: 800px;
	margin: 0px auto;
	margin-top: 1em;
}

.navbar-default .navbar-brand, .navbar-default .navbar-brand:hover {
	color: #fff;
}

#getcode_gg {
	top: 4px;
	left: 125px;
	cursor: pointer;
}

.dialog {
	max-width: 420px;
}
</style>
</head>

<body class=" theme-blue">
	<script type="text/javascript">
		
	</script>
	<div class="navbar navbar-default" role="navigation">
		<div class="navbar-header">
			<a class="" href="/"><span class="navbar-brand"><span
					class="fa fa-paper-plane"></span> 物品管理后台 </span></a>
		</div>
		<div class="navbar-collapse collapse" style="height: 1px;"></div>
	</div>
	<div class="dialog">
		<div class="panel panel-default">
			<p class="panel-heading no-collapse">登入</p>
			<div class="panel-body">
				<form id="login" action="/LogisticsSystem/user/staffLogin" method="post" autocomplete="off">
					<div class="form-group">
						<label>用戶名</label> <input type="text" id="userName" name="userName"
							class="form-control span12" value="">
					</div>
					<div class="form-group">
						<label>密&nbsp;&nbsp;&nbsp;&nbsp;碼</label> <input type="password"
							name="pwd" class="span12 form-control">
					</div>
					<span id="loginTip" class="label label-danger"></span> <input
						type="submit" id="chk_gg" class="btn btn-primary pull-right"
						value="登入">
					<div class="clearfix"></div>
				</form>
			</div>
		</div>
	</div>
	<!-- <script src="lib/bootstrap/js/bootstrap.js"></script> -->
	<!-- <script type="text/javascript">
    $(function() {
        var uls = $('.sidebar-nav > ul > *').clone();
        uls.addClass('visible-xs');
        $('#main-menu').append(uls.clone());

        var match = document.cookie.match(new RegExp('color=([^;]+)'));
        if (match) var color = match[1];
        if (color) {
            $('body').removeClass(function(index, css) {
                return (css.match(/\btheme-\S+/g) || []).join(' ')
            })
            $('body').addClass('theme-' + color);
        }

        $("#getcode_gg").click(function() {
            $(this).attr("src", '/admin/user/getcaptcha?' + Math.random());
        });
        $("#chk_gg").click(function() {
            var code_gg = $("#code_gg").val();

            $.post("/admin/user/checkcode?", {
                code: code_gg
            }, function(msg) {
                if (msg == 1) {
                    $("#login").submit();
                } else {
                    $("#loginTip").html("验证码错误");
                    $("#loginTip").show();
                }
            });
        });

        $('.demo-cancel-click').click(function() {
            return false;
        });
        $('#getCodeBtn').click(function() {
            getRefundCode();
        });
    });
</script> -->
</body>

</html>